﻿using MediatR;
using Sgr.Application.Commands;
using Sgr.Domain.Uow;

namespace Sgr.Indentity.Application.Commands
{
    public class SecondPasswordVerifyCommond : IRequest<CommandResult<string>>, IRequireUnitOfWork
    {
        /// <summary>
        /// 令牌用途类类型
        /// </summary>
        public int TokenType { get; set; } = 0;

        /// <summary>
        /// 用户密码
        /// </summary>
        public string Password { get; set; } = string.Empty;

        /// <summary>
        /// 时间戳
        /// </summary>
        public string Timestamp { get; set; } = string.Empty;

        /// <summary>
        /// 随机数
        /// </summary>
        public string Nonce { get; set; } = string.Empty;

        /// <summary>
        /// 签名
        /// </summary>
        public string Signature { get; set; } = string.Empty;
    }
}